home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 2 / AACD 2.iso / AACD / Magazine / GraphicsCards / StormMesa / demos / Makefile.cygnus < prev    next >
Makefile  |  1998-12-15  |  2KB  |  71 lines

  1. # Makefile for demo programs
  2. # Stephane Rehel (rehel@worldnet.fr) April 13 1997
  3.  
  4. # Mesa 3-D graphics library
  5. # Version:  3.0
  6. # Copyright (C) 1995-1998  Brian Paul
  7. #
  8. # This library is free software; you can redistribute it and/or
  9. # modify it under the terms of the GNU Library General Public
  10. # License as published by the Free Software Foundation; either
  11. # version 2 of the License, or (at your option) any later version.
  12. #
  13. # This library is distributed in the hope that it will be useful,
  14. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  16. # Library General Public License for more details.
  17. #
  18. # You should have received a copy of the GNU Library General Public
  19. # License along with this library; if not, write to the Free
  20. # Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  21.  
  22.  
  23. # $Id: Makefile.cygnus,v 3.0 1998/06/10 02:55:51 brianp Exp $
  24.  
  25. # $Log: Makefile.cygnus,v $
  26. # Revision 3.0  1998/06/10 02:55:51  brianp
  27. # initial revision
  28. #
  29.  
  30.  
  31. ##### MACROS #####
  32.  
  33. INCDIR = ../include
  34. LIBDIR = ../lib
  35.  
  36. GL_LIBS = -L$(LIBDIR) -lglut -lMesaGLU -lMesaGL -lm $(WLIBS)
  37.  
  38. LIB_DEP = $(LIBDIR)/$(GL_LIB) $(LIBDIR)/$(GLU_LIB) $(LIBDIR)/$(GLUT_LIB)
  39.  
  40. PROGS = clearspd drawpix gamma gears glinfo glutfx isosurf \
  41.     morph3d multiext multitex osdemo paltex pointblast reflect \
  42.     renormal spectex stex3d tessdemo texcyl texobj trispd winpos
  43.  
  44.  
  45. ##### RULES #####
  46.  
  47. .SUFFIXES:
  48. .SUFFIXES: .c
  49.  
  50. .c: $(LIB_DEP)
  51.     $(CC) -I$(INCDIR) $(CFLAGS) $< $(GL_LIBS) -o $@
  52.  
  53.  
  54. ##### TARGETS #####
  55.  
  56. default:
  57.     @echo "Specify a target configuration"
  58.  
  59. clean:
  60.     -rm *.o *~
  61.  
  62. realclean:
  63.     -rm $(PROGS:=.exe)
  64.     -rm *.o *~
  65.  
  66. targets: $(PROGS)
  67.  
  68. include ../Make-config
  69.  
  70.  
  71.